﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="1007.aspx.cs" Inherits="_1007" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="conent-R-inner">
        <div id="nav" runat="server" clientidmode="Static">
            <a href="index.aspx">首頁</a><img src="css/tem/img/img-icon-4.jpg" width="5" height="7" />學術剪影
        </div>
        <div class="clr">
        </div>
        <div class="environment-bg-2">
            <asp:ListView ID="ListView1" runat="server" DataSourceID="ObjectDataSource1">
                <EmptyDataTemplate>
                    <p>
                        <span id="sp_DATA">
                            <% Response.Write("查無資料".ConverToCN());%></span></p>
                </EmptyDataTemplate>
                <ItemTemplate>
                    <div style="float: left;">
                        <div class="environemt-gallery-broder">
                            <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl='<%# String.Format("1007-1.aspx?alb_no={0}&sfu_type={1}",Eval("Album.alb_no"),Request["sfu_type"])%>'>
                                        <asp:Image ID="Image1" runat="server" Width="200px" Height="150px" AlternateText='<%#Eval("Album.alb_name").ConverToCN() %>'
                                            ImageUrl='<%# String.Format("1007-2.ashx?alb_no={0}",Eval("Album.alb_no"))%>' />
                            </asp:HyperLink>
                        </div>
                        <div class="gallery-heading">
                            <a><%# Eval("Album.alb_name").ConverToCN()%></a></div>
                        <div class="gallery-number">
                            <%# string.Format("共{0}張相片", Eval("Count")).ConverToCN()%>
                        </div>
                    </div>
                </ItemTemplate>
            </asp:ListView>
        </div>
    </div>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="Get_album_AllData"
        TypeName="CCH.DAO.albumDAO">
        <SelectParameters>
            <asp:Parameter Name="alb_type" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>

